package single;


//懒汉
public class LazyMan {
    private static LazyMan lazyMan=null;
    private LazyMan(){
    }
    public static LazyMan getInstance(){
        if(lazyMan==null){
            lazyMan=new LazyMan();
        }
        return lazyMan;
    }
}
